<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Add Time Slot</title>
<style type="text/css">
form input[type="text"] {
	width: 200px;
}
form label {
	width: 100px;
}
</style>

</head>

<body>
<div id="addTimeSlot" align="center">
  <h2>Add Time Slot</h2>
  <p id="errorMessage">${topDisplayMsg}</p>
  <div id="dataForm" align="left" style="width:500px; background: #CCC; ">
    <form action="AddTimeSlot.do" method="get" enctype="application/x-www-form-urlencoded">
      <p>
        <label for="movie">Movie Name</label>
        <input type="text" name="movie" disabled="disabled" value="<%= request.getParameter("movie") %>">
      </p>
      <input type="hidden" name ="movie" value="<%= request.getParameter("movie") %>">
      </p>
      <p>
        <label for="startTime">Start Time</label>
        <input type="text" name="startTime" id="startTime">
      </p>
      <p>
        <label for="houseNo">House</label>
        <select name="houseNo">
          <option value="0" selected>Available House</option>
          <option value="1">House 1</option>
          <option value="2">House 2</option>
          <option value="3">House 3</option>
          <option value="4">House 4</option>
        </select>
      </p>
      <p>
        <label for="price">Price</label>
        <input type="text" name="price" id="price">
      </p>
      <p>
        <input type="submit" name="submitTS" id="submit" value="Submit">
      </p>
      <input type="hidden" name="action" id="action" value="submitTS">
    </form>
  </div>
</div>
</body>
</html>
